package com.hzit.cart.service;

import com.hzit.cart.dto.ItemDTO;
import com.ruoyi.system.api.domain.Item;

import java.util.List;
import java.util.Map;

public interface CartService {
	void addCart(Long itemId, Integer num);

	Map<String, List<ItemDTO>> findItemsFromRedis();

	ItemDTO findItemByItemId(Long itemId, Integer num);

	String createToken();
}
